package com.itgaoshu.hospitalproject.service;

import com.itgaoshu.hospitalproject.bean.Area;
import com.itgaoshu.hospitalproject.bean.Drugdictionary;
import com.itgaoshu.hospitalproject.bean.Type;
import com.itgaoshu.hospitalproject.bean.Unit;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DrugdictionaryService {
    //查询药品的方法
     List<Drugdictionary> findAllSdrugdictionary(Drugdictionary drugdictionary);
    //添加药品的方法
    int addSdrugdictionary(Drugdictionary drugdictionary);
    //查询所有产地的方法
   List<Area> findAllArea();
    //查询所有计量的方法
    List<Unit> findAllUnit();
    //查询所有类型的方法
   List<Type> findAllType();
    //删除药品的方法
   int deleteSdrugdictionary(int drugId);
    //修改药品的方法
    int editSdrugdictionary(Drugdictionary drugdictionary);
}
